# Contributor: Gavin D. Howard <yzena.tech@gmail.com>
# Maintainer: Gavin D. Howard <yzena.tech@gmail.com>
pkgname=howard-bc
pkgver=6.7.5
pkgrel=0
pkgdesc="POSIX bc with GNU extensions"
url="https://git.gavinhoward.com/gavin/bc"
arch="all"
license="BSD-2-Clause"
subpackages="$pkgname-doc"
source="https://git.gavinhoward.com/gavin/bc/releases/download/$pkgver/bc-$pkgver.tar.xz"
builddir="$srcdir/bc-$pkgver"

build() {
	PREFIX=/usr DESTDIR="$pkgdir" EXECSUFFIX=-howard ./configure.sh -GN
	make
}

check() {
	make test
}

package() {
	make install
}

sha512sums="
5f689fd20801ea7ede725ae5dc4e8744bdf2d72424bffef99c53193a950f4bd83b6eb4c5a07556576d0b3f5b6cd7f9fc7cbcb41d27891f488bb2e97a186f76a4  bc-6.7.5.tar.xz
"
